package com.命令模式.案例01.dianshi;

import com.命令模式.案例01.CommandInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GuanDianShiImpl implements CommandInterface {

    @Autowired
    DianshiReceiver dianshiReceiver;

    @Override
    public void exce() {
        dianshiReceiver.guan();
    }

    @Override
    public void undo() {

    }
}
